package cn.bdqn.controller;

        import cn.bdqn.service.UserService;
        import cn.bdqn.service.UserServiceImpl;

        import javax.servlet.annotation.WebServlet;
        import javax.servlet.http.HttpServlet;

@WebServlet("/user")
public class UserServlet extends HttpServlet {

    public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp){
        System.out.println("进入controller层方法");
        UserService userService = new UserServiceImpl();
        userService.getAllUser();
    }
}
